package com.pmcc.platform.user.repository;

import com.pmcc.platform.user.entity.MinSalesmanUserInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MinSalesmanUserInfoRepository  extends JpaRepository<MinSalesmanUserInfo, String> {

    List<MinSalesmanUserInfo> findAllByCode(String code);

    List<MinSalesmanUserInfo> findAllByOpenIdAndDelFlag(String openId, String delFlag);

    MinSalesmanUserInfo findAllById(String id);
}
